import java.io.IOException;
import java.net.ServerSocket;

public class Server{
	private static ServerSocket server;
	
	public Server(){		
		try{
			server = new ServerSocket(7789);			
		}catch(IOException ioe){
			ioe.printStackTrace();
		}
		Thread thread = new Thread(new ClientHandler(server));
		thread.start();
	}
}